home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 October: Mac OS SDK / Dev.CD Oct 97 SDK1.toast / Development Kits (Disc 1) / QuickDraw GX / Programming Stuff / GXEdit Library & Doc / GXEditSelection.h < prev    next >
Encoding:
Text File  |  1995-04-10  |  1.0 KB  |  31 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:            GXEditSelection.h
  3.     
  4.     Contains:
  5.     
  6.     Written by:        Barton R. House
  7.     
  8.     Copyright:        © 1993 by Apple Computer, Inc., All rights reserved.
  9.     
  10. */
  11.  
  12. void     SetSelection(DocPtr dp, long start, long end, Boolean setEmptyStyle, Boolean endOfLine, Boolean setMaxLineOffset);
  13.  
  14. void     GetParagraphIndexAndOffset(DocPtr dp, long docOffset, short * paragraphIndexPtr,
  15.                                         short * paragraphOffsetPtr, Boolean endOfLine);
  16.  
  17. void     GetLineIndexAndOffset(DocPtr dp, ParaPtr pp, short paragraphOffset,
  18.                                         short * lineIndexPtr, short * lineOffsetPtr, Boolean endOfLine);
  19.                                                                      
  20.  
  21. void    GetNewRunIndexAndOffset(DocPtr dp, ParaPtr pp, short paraOffset,
  22.                                             short * runIndexPtr, short * runOffsetPtr);
  23.  
  24. /*Boolean    SetSelectionTextFonts(DocPtr dp, short numFonts, gxFont * srcFonts, gxFont * dstFonts);*/
  25. /*Boolean    SetSelectionTextSize(DocPtr dp, short size);*/
  26.  
  27. void    GetSelectionAttributes(DocPtr dp, AttrPtr ap);
  28.  
  29. Boolean    SetSelectionStyles(DocPtr dp, short numStyles, short * oldStyles, short * newStyles);
  30.                                         
  31.